<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title></title>
<link rel="stylesheet" href="../static/admin/css/pintuer.css">
<link rel="stylesheet" href="../static/admin/css/admin.css">
<script src="../static/admin/js/jquery.js"></script>
<script src="../static/admin/js/pintuer.js"></script>

<link rel="stylesheet" href="../static/admin/kindeditor/themes/default/default.css" />
<script src="../static/admin/kindeditor/kindeditor-min.js"></script>
<script src="../static/admin/kindeditor/lang/zh_CN.js"></script>
<script>
var editor;
KindEditor.ready(function(K) {
  editor = K.create('textarea[name="product_content"]', {
    allowFileManager : true
  });
  editor = K.create('textarea[name="product_desc"]', {
    allowFileManager : true
  });
});
</script>

</head>
<body>
<div class="panel admin-panel">
  <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>修改管理员</strong></div>
  <div class="body-content">
    <form method="post" class="form-x" action="#" enctype="multipart/form-data">  
      <div class="form-group">
        <div class="label">
          <label>管理员：</label>
        </div>
        <div class="field">
          <input type="text" class="input w50" value="{$admin_one.admin_name}" name="admin_name" data-validate="required:请输入管理员账号" />
          <div class="tips"></div>
        </div>
      </div>

      <div class="form-group">
        <div class="label">
          <label>密码：</label>
        </div>
        <div class="field">
          <input type="password" class="input w50" value="" name="admin_pwd"  />
          <div class="tips"></div>
        </div>
      </div>  

      <div class="form-group">
        <div class="label">
          <label>头像：</label>
        </div>
        <div class="field">
          <input type="file" class="button bg-blue margin-left" name="admin_img" id="image1" value="+ 浏览上传"  style="float:left;">
          {if $admin_one['admin_img'] neq ""}
            <img src="../{$admin_one.admin_img}" alt="" style="width: 100px;height: 100px;">
          {/if}
        </div>
      </div> 
     
      <div class="clear"></div>
      
      <div class="form-group">
        <div class="label">
          <label></label>
        </div>
        <div class="field">
          <button class="button bg-main icon-check-square-o" type="submit"> 提交</button>
        </div>
      </div>
    </form>
  </div>
</div>

</body></html>